package com.papper.common.enums;

import com.papper.common.enums.interfaces.EnumInterface;

public enum YesNoEnum implements EnumInterface {
    /**
     *
     */
    YES(1, "是"),

    NO(0, "否");

    private Integer code;
    private String  message;

    YesNoEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
